﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
	<meta charset="utf-8" />
    <script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>

</head>
<body>
    <table>
        <thead>
            <tr><td>1</td></tr>
        </thead>
        <tbody>
            <tr><td>2</td></tr>
            <tr><td>2</td></tr>
            <tr><td>2</td></tr>
        </tbody>
    </table>
    <input type="button" onclick="qingkong()" value="清空" />
</body>
</html>
    <script type="text/javascript">
        function qingkong() {
            $("table tbody").html("");
        };
    </script>